package com.cdtye.shuoh.domain.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cdtye.common.mybatiscore.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 产品模型设备响应服务命令属性表
 * @author ZhongWang Wang
 * @date 2022-12-21
 */
@ApiModel("产品模型设备响应服务命令属性表")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("IOT_PRODUCT_COMMANDS_RESPONSE")
public class ProductCommandsResponse extends BaseEntity {
    
    @ApiModelProperty(value = "服务ID")
    private String serviceId;

    @ApiModelProperty(value = "命令ID")
    private String commandsId;

    @ApiModelProperty(value = "指示数据类型。取值范围：string、int、decimal")
    private String datatype;

    @ApiModelProperty(value = "指示枚举值")
    private String enumlist;

    @ApiModelProperty(value = "指示最大值")
    private String max;

    @ApiModelProperty(value = "指示字符串长度")
    private String maxlength;

    @ApiModelProperty(value = "指示最小值")
    private String min;

    @ApiModelProperty(value = "命令中参数的描述")
    private String parameterDescription;

    @ApiModelProperty(value = "命令中参数的名字")
    private String parameterName;

    @ApiModelProperty(value = "指示本条属性是否必填，取值为0或1，默认取值1")
    private String required;

    @ApiModelProperty(value = "指示步长")
    private String step;

    @ApiModelProperty(value = "指示单位。取值根据参数确定，如：温度单位：“C”或“K”百分比单位：“%” 压强单位：“Pa”或“kPa”")
    private String unit;

    @ApiModelProperty(value = "逻辑删除")
    private String delFlag;


}